package com.imooc.distributedemo.resume;

import java.math.BigDecimal;

public class FinallyNoExecuteDemo {
    public static void main(String[] args) {

        try{
            BigDecimal b1 = new BigDecimal(1.0);
            BigDecimal b2 = new BigDecimal(1.100);
            boolean bool1 = b1.equals(b2);
            int intCmp2 = b1.compareTo(b2);
            System.out.println(bool1);
            System.out.println(intCmp2);
            int a = 100;
            System.out.println("try try");
            System.exit(1);
            //Runtime.getRuntime().halt(1);
        }catch (Exception e){
            e.printStackTrace();
        }finally {
            System.out.println("finally");
        }
    }
}
